package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;
@Setter@Getter
public class Recharge {
    private Long id;

    private Member member;

    private String operateType;

    private String payType;

    private BigDecimal oldAccount;

    private BigDecimal rechargeMoney;

    private BigDecimal giftMoney;

    private BigDecimal newAccount;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date rechargeTime;

    private String remark;

    private Employee employee;
}